import request from "utils/request";

const developmentsApi = {};

//分页版
developmentsApi.pageList = function (listQuery) {
   return request({
      url: "/housesMessage/list.do",
      method: "get",
      params: listQuery
   });
};

developmentsApi.add = function (data) {
   return request.postData("/housesMessage/add.do", data);
};

developmentsApi.update = function (data) {
   return request.postData("/housesMessage/update.do", data);
};

developmentsApi.delete = function (keyId) {
   return request.postData("/housesMessage/delete.do", {keyId});
};


export default developmentsApi;
